import postcss from 'rollup-plugin-postcss';
import postcssPresetEnv from 'postcss-preset-env';
import autoprefixer from 'autoprefixer'
import cssnano from 'cssnano'
export default {
    input: './src/index.js',
    output: {
      file: 'dist/bundle.js',
      format: 'iife'
    },
    plugins: [
      postcss({
        plugins: [
          // postcssPresetEnv(),
          autoprefixer(),
          cssnano()
        ],
        extract: true,
        minimize: true
      })
    ]
  };